package org.nmgyjt.springboot.service;


import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.nimbusds.jose.JOSEException;
import org.nmgyjt.springboot.beans.admin.*;
import org.nmgyjt.springboot.entity.ApiRes;
import org.nmgyjt.springboot.entity.admin.CsSystemSourceExt;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface IdaasService {
//    Map<String, Object> getUserInfoByCodeFromIDass(String code);
    JSONObject syncDepartment();

    List findUsersByDepId(String depId);

    JSONArray findUsersByPhone(String name);

    String upZWWXResources(String phone);

    void saveBaseSource(CsSystemSourceExt sourceExt, CsSystemOrgCreateBean dept);

    void exist(String phone);

    void updateBaseSource(CsSystemSourceExt sourceExt, CsSystemAdminCreateBean bean);

    Map selectCsSystemUser(CsSystemUserstatisticBean bean) throws ParseException, JOSEException;
}
